package top.songxs.dao;

import org.springframework.stereotype.Repository;
import top.songxs.base.BaseDao;
import top.songxs.entity.RolePermission;

import java.io.Serializable;
@Repository
public interface RolePermissionDao extends BaseDao<RolePermission> {
    void deleteByRoleId(Long roleId);

    //根据permissionId删除角色与权限的一个关联信息
    void removeByPremissionId(Serializable permissionId);
}
